package com.ruoyi.standingbook.sanitationvehicle.domain.bo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.standingbook.v2toilet.enums.ItemStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 环卫作业车-异常工单业务对象 tz_sanitation_vehicle_bill
 *
 * @author lq
 * @date 2024-01-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SanitationVehicleBillBo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    
    /**
     * id
     */
    private String id;
    
    private String flowCode;
    
    private String batchNo;

    /**
     * 检查日期
     */
    private Date checkDate;
    
    /**
     * 巡检项是否可以调整覆盖 0 YES 1  NO
     */
    private Integer modified;

    public SanitationVehicleBillBo() {
    }

    public SanitationVehicleBillBo(ItemStatusEnum statusEnum) {
        this.status = statusEnum.intCode;
    }

    /**
     * 环卫作业车ID
     */
    @JsonIgnore
    private String sanitationVehicleId;

    /**
     * 车牌号
     */
    private String licensePlateNo;

    /**
     * 巡检项（数据库字段小写）
     */
    private String item;
    
    private String itemText;
    
    /**
     * 处理人
     */
    private String currUser;
    
    /**
     * 处理状态（0,保存，1，提交，2处理中，3完成）
     */
    private Integer status;
    private String imageBefore;
    private String imageAfter;
    private String remark;

    private String operateUser;

    private String flowData;
    private String projectName;
    private Integer modifyCode;
}
